package com.dcbeida.fragment.homeFragment;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.DrugListBean;
import com.dcbeida.bean.MsgBean;
import com.dcbeida.bean.ShopSummary;
import com.dcbeida.bean.ShopSummaryCurrent;

import java.util.ArrayList;

/**
 * Created by hp on 2016/5/12.
 */
public interface HomeContract {

    interface View extends BaseView<Present> {

        void showTip(String msg);

        void showShopSummaryCurrent(ShopSummaryCurrent data);

        void showShopSummary(ShopSummary shopSummary);

        void showNews(ArrayList<MsgBean> list);

        void showDrugIds(DrugListBean data);

        void logout();

        void logoutTips();

        void handleMsg(int count);
    }

    interface Present extends BasePresenter {


        void bindDevicetoken(String devicetoken);

        void getShopSummaryCurrent();

        void getShopSummary(String begindate, String enddate, String reporttype);

        void getNews(String pageindex, String pagesize);

        void getdruglist();
        void checklogintoken();

        void getUnReadNews();
    }
}
